import request from "@/utils/request";
import cfg from "@/config/config";

const costCenter = {
  //新增或修改
  addOrEdit:param => {
    return request("post", cfg.apiUrl + "api/bdSysCostcenter/addOrEdit",param);
  },
  //删除成本中心
  deleteCostCenter:param => {
    return request("post", cfg.apiUrl + "api/bdSysCostcenter/deleteCostCenter",param);
  },
};

export default costCenter;
